package com.mall.author.vo;

import com.mall.common.validator.group.AddGroup;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author: 谢君臣
 * @Date: 2022/8/7-12:21
 * @version: 1.0
 * @function:
 */
@Data
public class LoginVo {
    @NotEmpty(message = "登录账号不能为空", groups = AddGroup.class)
    private String loginAccount;
    @NotEmpty(message = "密码不能为空",groups = AddGroup.class)
    private String password;
}
